import EView as ev

#创建串口对象
Peri = ev.Peripheral()
# 设置波特率
Peri.uartInit(115200)
Peri.sendUartData("The serial port is initialized\r")

while True:
    cc = Peri.getUartData();
    if cc != None:
        print(cc)